<div class="x-list-title">
<table width="100%" border="0" height="100%">
<tr>
	<td align="left">
		<h2>Danh sách ngạch lương</h2>
	</td>
	<td align="right">	
		<div class="x-list-options">
			<a href="#Personnel/Salaryparam/Add" class="x-button x-button-add">Ngạch lương mới</a>
		</div>
	</td>
</tr>
</table>	
</div>
				
<table width="100%" cellpadding="5" class="x-list">
<tr>
	<th width="25" align="center">TT</th>
	<th>Tên ngạch lương</th>
	<th width="80">Hệ số cơ bản</th>
	<th width="80">Hệ số tăng</th>
	<th width="80">Năm tăng</th>
	<th width="80">Số bậc</th>
	<th width="80">Người tạo</th>
	<th width="25" colspan="2">Tác vụ</th>
</tr>
<?php foreach( $this->get('posts') as $k => $a ):?>
<tr>
	<td align="center">
		<?php _e($k+1);?>
	</td>
	<td>
		<a href="#Personnel/Salaryparam/Edit?ID=<?php _e($a['ID'])?>"><?php _e($a['title'])?></a>
	</td>
	<td align="center">
		<?php _e($a['salary'])?>
	</td>
	<td align="center">
		<?php _e($a['subsalary'])?>
	</td>
	<td align="center">
		<?php _e($a['stone'])?>
	</td>
	<td align="center">
		<?php _e($a['countb'])?>
	</td>
	<td align='center'>
	<a href='#User/Info?ID=<?php _e($a['user_id']);?>'><?php _e($a['username']);?></a>
	</td>
	<td width="25" align="center">
		<a href="#Personnel/Salaryparam/Edit?ID=<?php _e($a['ID']);?>" class='x-edit'></a>
	</td>
	<td width="25" align='center'>
	<a onclick='module_delete("<?php _baseUrl();?>/Personnel/Salaryparam/Delete?ID=<?php _e($a['ID']);?>")' class='x-delete'></a>
	</td>
</tr>
<?php endforeach;?>
</table>
	
